Tag Link | [ChartFX->SetTemplate] | Category | ChartFX |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 8.5 |
Change | New | Data Source | Any |
Output Type | None | Security | None |
Implementation | Sets | Lasso 8.5 |
[ChartFX->SetTemplate] sets the XML template for a chart to a file. The template is read in by the [ChartFX] object directly. The format for the template should be based on a template generated by the Chart FX for Java Designer which is included in the Chart FX folder in the Lasso application folder.
[Var:'MyChart'=ChartFX]
[$MyChart->SetWidth(800)]
[$MyChart->SetHeight(600)]
[$MyChart->SetTemplate('MyChart.cfx')]
[$MyChart->SetLassoData(Records_Array)]
[$MyChart->Render]
Required Parameters | |
---|---|
File Path | The path to the template file for the chart. |
See the Lasso 8 Language Guide for examples of how to use this tag.